import { deleteAction, getAction } from '@/api/manage'
import { serviceApi } from '@/api/common.js'

export const api = {
  list: '/log/gatewayLogs',
  delete: (ids) => serviceApi.auth + `/logs/${ids}`
}

/**
 * 查询日志信息
 * @param {*} params
 * @returns
 */
export const queryLogInfo = (id, params) => getAction(`/log/gatewayLogs/${id}/info`, params);
